﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ReportSelectPerson.aspx.cs" Inherits="Page_Customer_ReportSelectPerson" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="content-type" content="text/html;charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>就诊卡缴费</title>
    <link href="../../Content/syzyy/css/reset.css" rel="stylesheet" />
    <link href="../../Content/syzyy/css/ylt_common.css" rel="stylesheet" />
    <link href="../../layui/css/layui.css" rel="stylesheet" />

    <script src="../../Scripts/jquery-1.8.0.min.js"></script>
    <%--layui--%>
    <style type="text/css">
        body {
            background-color: #fff;
        }

        .btn-white {
            display: inline-block;
            background-color: #fff;
            color: #78b830;
            border: 1px solid #78b830;
            border-radius: .078rem;
            width: 100%;
            line-height: 4.05rem;
            font-size: 3.4rem;
            border-radius: 3px;
        }

        .tips_con {
            margin-top: 4%;
        }

        .check-report .patient-input-select {
            margin-bottom: .781rem;
        }

        .patient-input-select {
            padding-left: 1.46875rem;
            background-color: #fff;
            min-height: 2.8rem;
        }

        .patient-input-box {
            position: relative;
            font-size: .44625rem;
        }

        .patient-input-select .patient-input-wrap {
            padding-left: 0;
        }

        .patient-input-box .patient-input-wrap {
            border-bottom: 1px solid #f5f5f5;
            background-color: #fff;
        }

        .patient-input-select .select-icon {
            width: 25%;
        }

        .patient-input-box .select-icon {
            height: 100%;
            position: absolute;
            display: inline-block;
            border: 0;
            top: 0;
            right: 0;
            z-index: 2;
            border-bottom: 1px solid #f5f5f5;
            background-size: .9375rem;
        }

        .btn-green {
            display: inline-block;
            background-color: #78b830;
            color: #fff;
            border: 1px solid #78b830;
            border-radius: .078rem;
            margin: auto 4.5%;
            width: 91%;
            line-height: 4.25rem;
            font-size: 3.5rem;
            border-radius: 5px;
        }

        .patient-input-box .patient-input-wrap input, .patient-input-box .patient-input-wrap textarea {
            width: 90%;
            padding: 1.4rem 3px 1.4rem 1.9375rem;
            border: 0;
        }

        .patient-input-box .patient-name {
            background: url(../../../Content/syzyy/img/icon_xingming2@2x.png) no-repeat 0 50%;
            background-size: 1.484375rem;
        }

        .patient-input-box .patient-Card {
            background: url(../../../Content/syzyy/img/icon_jiuzhenka2@2x.png) no-repeat 0 50%;
            background-size: 1.484375rem;
        }

        input, select, textarea {
            font-size: 100%;
        }
    </style>
</head>
<body>
    <header class="appoint_header">
        <img class="appoint_icon" src="../../Images/xhImg/report.png" />
        <div class="tips_con">
            <h5 class="appointment_status">查看报告</h5>
            <p class="appointment_tips">
                目前支持检验报告
            </p>
        </div>
    </header>

    <%if (Model != null)
        {%>
    <section>

        <div class="patient-input-box  patient-input-select ng-scope">
            <div class="patient-input-wrap">
                <input type="text" class="patient-name ng-pristine ng-untouched ng-not-empty ng-valid ng-valid-required" placeholder="请填写就诊人姓名" value="<%=Model.PatientName %>" required="" style="">
            </div>

            <div class="patient-input-wrap">
                <input type="text" class="patient-Card ng-pristine ng-untouched ng-not-empty ng-valid ng-valid-required" placeholder="请填写就诊卡号" value="<%=Model.PatientPatiID %>" required="" style="">
            </div>
            <%-- <div class="select-icon">
                    <div class="select-icon-text fc-999">选就诊人</div>
                </div>--%>
        </div>

    </section>
    <footer>
        <button type="submit" class="btn-green" onclick="btnClick()">查看报告</button>
    </footer>
    <% }
        else
        {%>
    <div>
        <header class="no_report_bg">
            <img src="../../Content/syzyy/img/no_report.png" />
        </header>
        <p class="tips">
            您尚未添加就诊人，请先添加哦
        </p>
    </div>
    <footer class="jzr_foot">
        <!--a标签的href属性可以直接写跳转地址-->
        <a href="AddPatient.aspx" class="u-btn u-btn-green u-btn-lg">添加就诊人</a>
    </footer>
    <% } %>
</body>
<script type="text/javascript">
    //$().ready(function () {
    //   $(".btn-green").click(function () {
    //       location.href = "Report.aspx";
    //   });
    //})

    function btnClick() {
        location.href = "Report.aspx?openid=<%=openid%>";
    }

</script>
</html>
